package com.ebupt.migu.music.songlist.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.ebupt.migu.music.songlist.dto.QueryDto;
import com.ebupt.migu.songlist.entity.BdFunnel;
import com.ebupt.migu.songlist.entity.BdPvUvInfo;
import com.ebupt.migu.songlist.entity.BdRetention;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author tz
 */
@DS("clickhouse")
public interface EffectTrackMapper {

    List<String> action();
    List<String> retention();
    List<String> funnel();

    List<BdPvUvInfo> listAll(@Param("queryDto") QueryDto queryDto);

    List<BdRetention> retentionList(@Param("queryDto") QueryDto queryDto);

    List<BdFunnel> funnelList(@Param("queryDto") QueryDto queryDto);

    List<BdPvUvInfo> countAll(@Param("queryDto") QueryDto queryDto);
}
